import { request } from '@/common/request.js'

// 登录
export function login(query) {
  return request({
    url: `/x/app/login`,
    method: 'post',
	query: query
  })
}
// 商户列表
export function merchantInfo(query) {
  return request({
    url: `/x/app/merchant/info`,
    method: 'post',
	query:query
  })
}
// 商户列表
export function getMercharList(query) {
  return request({
    url: `/x/app/merchant/list`,
    method: 'post',
	query:query
  })
}
// 投诉列表
export function tsjyList(query) {
  return request({
    url: `/x/app/tsjy/list`,
    method: 'post',
	query:query
  })
}
// 添加投诉
export function tsjySave(query) {
  return request({
    url: `/x/app/tsjy/save`,
    method: 'post',
	query:query
  })
}
// 投诉信息
export function tsjyInfo(query) {
  return request({
    url: `/x/app/tsjy/info`,
    method: 'post',
	query:query
  })
}
// 用户信息
export function getuserinfo(query) {
  return request({
    url: `/x/app/user/getInfo`,
    method: 'post',
	query:query
  })
}
// 社区动态
export function getsyList(query) {
  return request({
    url: `/x/app/jqjs/syList`,
    method: 'post',
	query:query
  })
}
// 社区动态
export function getsyInfo(query) {
  return request({
    url: `/x/app/jqjs/info`,
    method: 'post',
	query:query
  })
}
// 社区动态
export function update(query) {
  return request({
    url: `/x/app/user/update`,
    method: 'post',
	query:query
  })
}

